Activating the source shouldn't be possible, and neither should
removing it.
https://bugzilla.gnome.org/show_bug.cgi?id=683438
this._notification = new AutorunResidentNotification(this._manager, this);
},
+ buildRightClickMenu: function() {
+ return null;
+ },
+
addMount: function(mount, apps) {
if (!shouldAutorunMount(mount, false))
return;
Lang.bind(this, this._onSummaryBoxPointerContentUpdated));
this._sourceDoneDisplayingId = this._summaryBoxPointerItem.source.connect('done-displaying-content',
Lang.bind(this, this._escapeTray));
- if (this._clickedSummaryItemMouseButton == 1) {
+
+ let hasRightClickMenu = this._summaryBoxPointerItem.rightClickMenu != null;
+ if (this._clickedSummaryItemMouseButton == 1 || !hasRightClickMenu) {
let newQueue = [];
for (let i = 0; i < this._notificationQueue.length; i++) {
let notification = this._notificationQueue[i];